#import "dfhgwhruebvhrheyfreightencourage.h"
#import "dfhgwhruebvhrheygluemisunderstand.h"
@interface dfhgwhruebvhrheygluemisunderstand ()
@property (weak, nonatomic) IBOutlet UIImageView *tipsImg;
@property (weak, nonatomic) IBOutlet UILabel *nameTextLabel;
@property (weak, nonatomic) IBOutlet UILabel *numberTextLabel;
@end
@implementation dfhgwhruebvhrheygluemisunderstand
- (void)awakeFromNib {
    [super awakeFromNib];
}
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];
}
- (void)bindData:(PPP_AccountItemModel *)model byType:(int)type {
	if (type == 1) {
		self.nameTextLabel.text = model.title;
		self.numberTextLabel.text = model.account_number;
	}else {
		self.nameTextLabel.text = model.name;
		self.numberTextLabel.text = model.bank_number;
	}
	if ([model.is_default isEqualToString:@"1"]) {
		self.tipsImg.image = [UIImage imageNamed:@"home_account_item_s"];
	}else {
		self.tipsImg.image = [UIImage imageNamed:@"home_account_item_n"];
	}
}
@end
